package com.fanrui.code.util.core;

import com.fanrui.code.thread.ThreadPool;

public class ThreadManager {
	
	private  static ThreadPool instance;
	
	public static ThreadPool getInstance(){
		return instance;
	}
	
	public static void init(String threadPoolName,int threadPoolNum){
		instance = new ThreadPool(threadPoolName,threadPoolNum);
	}

}
